Dynomotion

Group: DynoMotion Message: 4913 From: bradodarb Date: 5/11/2012
Subject: Tuner App
Hello Tom,

I want to make a basic tuning helper utility.

Here is the functionality I have used in the past for fine-tuning.

Command an infinite loop of motion between two points
With the axis moving, I keep an eye on following error and output

while::
adjust velocity, accel and jerk for sharp motion
adjust PID params as well as some others(feedforward, etc...)

I have been able to achieve very tight performance using this methodology, typically only needing to adjust P and D to find a good balance between stiffness and stability.

So I want to implement this tool for use with Kflop, and an initial layout of it is here::
http://groups.yahoo.com/group/DynoMotion/photos/album/1009476393/pic/list


After looking at the example here::
http://www.dynomotion.com/Help/data_gathering.htm

It seems fairly straight forward, but I would like to see what the structs gather and gather.list look like.


Also, can I stream the data in memory(message callback?)? Surely there is another way to access the data other that the text file that I have overlooked.



Thanks,

Brad Murry
Group: DynoMotion Message: 4918 From: bradodarb Date: 5/11/2012
Subject: Re: Tuner App
I wanted to clarify that this app would be used after the axis was in a ~stable state and already accepting motion commands.

On other systems I work with, I use this methodology to fine tune after using an 'Auto Tune' function.


Maybe down the road other functionality to get a servo moving from initial connection could be looked at.

-Brad Murry


--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> Hello Tom,
>
> I want to make a basic tuning helper utility.
>
> Here is the functionality I have used in the past for fine-tuning.
>
> Command an infinite loop of motion between two points
> With the axis moving, I keep an eye on following error and output
>
> while::
> adjust velocity, accel and jerk for sharp motion
> adjust PID params as well as some others(feedforward, etc...)
>
> I have been able to achieve very tight performance using this methodology, typically only needing to adjust P and D to find a good balance between stiffness and stability.
>
> So I want to implement this tool for use with Kflop, and an initial layout of it is here::
> http://groups.yahoo.com/group/DynoMotion/photos/album/1009476393/pic/list
>
>
> After looking at the example here::
> http://www.dynomotion.com/Help/data_gathering.htm
>
> It seems fairly straight forward, but I would like to see what the structs gather and gather.list look like.
>
>
> Also, can I stream the data in memory(message callback?)? Surely there is another way to access the data other that the text file that I have overlooked.
>
>
>
> Thanks,
>
> Brad Murry
>
Group: DynoMotion Message: 4919 From: Fouijar Date: 5/11/2012
Subject: Re: Tuner App
Hi Brad,

From my point of view, I think it's a great idea.
If I may ask something, why a straight line? Shouldn't it be more realistic to tune trying to follow a sin wave, variable in amplitude and frequency? The frequency should be limited , according to your statement: a pre-tuned system,to the known bandwidth.

If you agree I would be happy to test it, if applicable.

Regards,

Jerome

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
>
> I wanted to clarify that this app would be used after the axis was in a ~stable state and already accepting motion commands.
>
> On other systems I work with, I use this methodology to fine tune after using an 'Auto Tune' function.
>
>
> Maybe down the road other functionality to get a servo moving from initial connection could be looked at.
>
> -Brad Murry
>
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > Hello Tom,
> >
> > I want to make a basic tuning helper utility.
> >
> > Here is the functionality I have used in the past for fine-tuning.
> >
> > Command an infinite loop of motion between two points
> > With the axis moving, I keep an eye on following error and output
> >
> > while::
> > adjust velocity, accel and jerk for sharp motion
> > adjust PID params as well as some others(feedforward, etc...)
> >
> > I have been able to achieve very tight performance using this methodology, typically only needing to adjust P and D to find a good balance between stiffness and stability.
> >
> > So I want to implement this tool for use with Kflop, and an initial layout of it is here::
> > http://groups.yahoo.com/group/DynoMotion/photos/album/1009476393/pic/list
> >
> >
> > After looking at the example here::
> > http://www.dynomotion.com/Help/data_gathering.htm
> >
> > It seems fairly straight forward, but I would like to see what the structs gather and gather.list look like.
> >
> >
> > Also, can I stream the data in memory(message callback?)? Surely there is another way to access the data other that the text file that I have overlooked.
> >
> >
> >
> > Thanks,
> >
> > Brad Murry
> >
>
Group: DynoMotion Message: 4920 From: Tom Kerekes Date: 5/11/2012
Subject: Re: Tuner App
Hi Brad,
 
The data is usually collected into the 8MByte Gather Buffer and uploaded.  There are Console Commands to upload bytes from the Gather Buffer.
 
Those structures are all defined in KMotionDef.h
 
Regards
TK

Group: DynoMotion Message: 4921 From: bradodarb Date: 5/11/2012
Subject: Re: Tuner App
Hello Jerome,

You are correct, in the real app there will be all manner of waveforms. That pic was just a mockup sketch.

I'll post back the proto as soon as it's done.

Thanks,
Brad Murry

--- In DynoMotion@yahoogroups.com, "Fouijar" <fouijar@...> wrote:
>
> Hi Brad,
>
> From my point of view, I think it's a great idea.
> If I may ask something, why a straight line? Shouldn't it be more realistic to tune trying to follow a sin wave, variable in amplitude and frequency? The frequency should be limited , according to your statement: a pre-tuned system,to the known bandwidth.
>
> If you agree I would be happy to test it, if applicable.
>
> Regards,
>
> Jerome
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> >
> > I wanted to clarify that this app would be used after the axis was in a ~stable state and already accepting motion commands.
> >
> > On other systems I work with, I use this methodology to fine tune after using an 'Auto Tune' function.
> >
> >
> > Maybe down the road other functionality to get a servo moving from initial connection could be looked at.
> >
> > -Brad Murry
> >
> >
> > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > >
> > > Hello Tom,
> > >
> > > I want to make a basic tuning helper utility.
> > >
> > > Here is the functionality I have used in the past for fine-tuning.
> > >
> > > Command an infinite loop of motion between two points
> > > With the axis moving, I keep an eye on following error and output
> > >
> > > while::
> > > adjust velocity, accel and jerk for sharp motion
> > > adjust PID params as well as some others(feedforward, etc...)
> > >
> > > I have been able to achieve very tight performance using this methodology, typically only needing to adjust P and D to find a good balance between stiffness and stability.
> > >
> > > So I want to implement this tool for use with Kflop, and an initial layout of it is here::
> > > http://groups.yahoo.com/group/DynoMotion/photos/album/1009476393/pic/list
> > >
> > >
> > > After looking at the example here::
> > > http://www.dynomotion.com/Help/data_gathering.htm
> > >
> > > It seems fairly straight forward, but I would like to see what the structs gather and gather.list look like.
> > >
> > >
> > > Also, can I stream the data in memory(message callback?)? Surely there is another way to access the data other that the text file that I have overlooked.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Brad Murry
> > >
> >
>